package org.example.pack1022;

import java.util.List;

public class DemoB {
    private List<String> list;
    private DemoA da;

    public DemoB(List<String> list, DemoA da) {
        this.list = list;
        this.da = da;
    }

    @Override
    public String toString() {
        return "DemoB{" +
                "list=" + list +
                ", da=" + da +
                '}';
    }
}
